package cn.tedu.order.controller;

import cn.tedu.fw.api.FwFeignHello;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/app/order")
public class OrderController {
    @Autowired
    private FwFeignHello fwFeignHello;
    @GetMapping
    public String showHello(){
        return fwFeignHello.sayHello();
    }
}
